<template>
  <h1>
    <p>{{ msg }}</p>
  </h1>
</template>
<script>
import { ref, reactive, toRefs, onMounted } from "vue";
import axios from "@/utils/axios";
export default {
  name: "v2",
  setup() {
    const state = reactive({
      msg: "123",
    });
    return {
      ...toRefs(state),
    };
  },
};
</script>
<style lang='scss' scoped>
h1 {
  color: #000;
  p {
    font-size: 20px;
  }
}
</style>